{{#extends @html/layouts/layout-node.html}}


{{:init}}
	{{@community.html:init}}
	{{!connect "screen/widgets-default.css" media="screen"}}
	{{!connect "screen/content-communitieslist.css" media="screen"}}
{{/:init}}


{{:content_class}}content-communitieslist{{/:content_class}}
{{:community_logo_url logo_image_oid}}{{/}}{{logo_image_oid | link_to 'imagestorage' 'sm1'}}{{/:community_logo_url}}
{{:community_logo_url}}{{images}}z.gif{{/:community_logo_url}}

{{:title}}Полный список сообществ | {{SITE.project_title}}{{/:title}}


{{:layout_main}}
	<h1 class="title-">Полный список сообществ</h1>
	<div class="list-">
		{{!for communities do=@:community_item}}{{:community_item}}
			<div class="item-">
				<!--{{?*logo_image_oid}}<div class="logo-"><a href="{{/}}{{*community_url}}"><img src="{{@:community_logo_url logo_image_oid=*logo_image_oid}}" alt="" /></a></div>{{/?}}-->
				<h3  class="name-"><a href="{{/}}{{*community_url}}">{{*title}}</a></h3>
				<div class="desc-">{{*mod | safe}}</div>
			</div>
		{{/:community_item}}
	</div>
{{/:layout_main}}

{{:layout_pager}}
	{{?pager.prev || pager.next}}
	<ul class="pagenavigation-">
		<li>{{!!a href=pager.prev_url}}← Предыдущая страница{{/!!}}</li>
		<li>{{!!a href=pager.next_url}}Следующая страница →{{/!!}}</li>
	</ul>
	{{/?}}
{{/:layout_pager}}
